package org.sky.sys.mapper;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author weifx
 * @Title: SysCommonMapper
 * @ProjectName springboot-platform
 * @Description: TODO
 * @date 2019/3/6 22:44
 * @Version 1.0
 */
public interface SysCommonMapper {
    /**
     *
     * @param
     * fliter<tablename,''>;
     * fliter<fields,'f1,f2'>;
     * fliter<filter,'f1,f2'>
     * fliter<sort,'f1 desc,f2 asc'>;
     * fliter<begin,0>;map<end,20>
     * @return
     */
    public List<Map> queryComboData(Map fliter);

    /**
     * 查询数据库当前时间
     * @return
     */
    public Date querySysDate();
    /**
     * 查询数据库时间戳
     * @return
     */
    public Timestamp queryTimestamp();
}
